from django import forms

from ckeditor.fields import RichTextFormField
from ckeditor.widgets import CKEditorWidget
from ckeditor_uploader.fields import RichTextUploadingFormField
from ckeditor_uploader.widgets import CKEditorUploadingWidget

from .models import Article

class SignupForm(forms.Form):
    username = forms.CharField(label='Username',widget=forms.TextInput(attrs={'class':'form-control'}))
    email = forms.EmailField(label='Email',widget=forms.TextInput(attrs={'class':'form-control'}))
    password = forms.CharField (label='Password',widget=forms.PasswordInput(attrs={'class':'form-control'}))
    confirmpassword = forms.CharField(label='*Password',widget=forms.PasswordInput(attrs={'class':'form-control'}))